package com.bean.service;

import com.bean.dao.UserDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserDao userDao;

    @Override
    public void save() {
        System.out.println(" user");
        userDao.save();
        System.out.println("执行了UserServiceImpl的save方法");
    }
}
